package com.liang.entity;/*
 *@Author: ljy
 *@Date:2021/11/3 21:43
 *
 */

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 创建实体类，实现序列化接口，否则无法存入Redis 数据库；
 */
@Data
public class Student implements Serializable {
    private Integer id;
    private String name;
    private Double score;
    private Date birthday;

}
